package com.jdz.gxq.info.admin.inspectiondetail.service;

import java.util.List;
import java.util.Map;

import com.jdz.gxq.info.admin.inspectiondetail.bo.Inspectiondetail;

public interface InspectiondetailService {

	/**
	 * Inspectiondetail检索分页用，查询记录条数
	 * 
	 * @return
	 */
	public int getInspectiondetailsCount();

	/**
	 * Inspectiondetail检索
	 * 
	 * @return
	 */
	public List<Inspectiondetail> getInspectiondetails(
			Map<String, Object> params);

	/**
	 * 追加Inspectiondetail
	 * 
	 * @param inspectiondetail
	 */
	public void insertInspectiondetail(Inspectiondetail inspectiondetail);

	/**
	 * 更新Inspectiondetail
	 * 
	 * @param inspectiondetail
	 */
	public void updateInspectiondetail(Inspectiondetail inspectiondetail);

	/**
	 * 通过id得到inspectiondetail
	 * 
	 * @param id
	 * @return
	 */
	public Inspectiondetail getInspectiondetailById(int id);

	/**
	 * 删除Inspectiondetail
	 * 
	 * @param inspectiondetail
	 */
	public void deleteInspectiondetail(int id);

}
